﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TerryDong.Data;
using TerryDong.DAL.IDAL;
using TerryDong.DAL.DataModels;

namespace TerryDong.DAL.DALSqlServer
{
    public class OrdersDAL:IOrder
    {
        private DataContext<OrdersDataModel> _DataContext = null;

        /// <summary>
        /// 默认实例 
        /// </summary>
        public OrdersDAL()
        {
            _DataContext = DataContext<OrdersDataModel>.CreateInstance(OrdersDataModel.m_DefalutConn, OrdersDataModel.m_TableName);
        }


        #region IOrder Members

        public void Insert(OrdersDataModel order)
        {
            throw new NotImplementedException();
        }

        public OrdersDataModel GetOrder(long orderId)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IDALBase Members

        public void Add()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
